package com.xju.atpgs.utils;

import com.xju.atpgs.entity.Question;
import com.xju.atpgs.service.QuestionService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import java.text.DecimalFormat;
import java.util.*;

import static java.lang.Math.E;

@Component
public class Test {
    @Autowired
    private QuestionService questionService;
    public static List<Question> questionList;
    public static QuestionService questionService2;
    private static int a;
    static Logger logger = LoggerFactory.getLogger(Test.class);

    public static void array(List<Integer> list) {
        list.set(0, 14250);
    }

    public static void main(String[] args) {
        List<Integer> p1=new ArrayList<>();
        p1.add(1);
        p1.add(2);
        p1.add(3);
        HashSet<Integer> s1=new HashSet<>(p1);
        List<Integer> p2=new ArrayList<>();
        p1.add(4);
        p1.add(5);
        p1.add(6);
        HashSet<Integer> s2=new HashSet<>(p2);

    }


}
